#Author: Kiwon Yun & Eric Rooney

#Makefile for 3081 Iteration 2

GPLUSPLUS =  g++

all: dealer
	$(GPLUSPLUS) main.cpp Dealer.o Deck.o Player.o Hand.o GameInfo.o RoundInfo.o RuleManager.o Betting.o -o Iter2

dealer: deck hand gameinfo roundinfo rulemanager betting
	$(GPLUSPLUS) Dealer.cpp -c -o Dealer.o

deck: player
	$(GPLUSPLUS) Deck.cpp -c -o Deck.o

player : hand
	$(GPLUSPLUS) Player.cpp -c -o Player.o

hand :
	$(GPLUSPLUS) Hand.cpp -c -o Hand.o

gameinfo :
	$(GPLUSPLUS) GameInfo.cpp -c -g -o GameInfo.o

roundinfo :
	$(GPLUSPLUS) RoundInfo.cpp -c -g -o RoundInfo.o

rulemanager :
	$(GPLUSPLUS) RuleManager.cpp -c -g -o RuleManager.o

betting :
	$(GPLUSPLUS) Betting.cpp -c -g -o Betting.o

# Clean up
clean: 
	-rm Iter2
	-rm *.o
